/* Startup Template For RB 0 */ // Sample Interrupt Handler void interrupt() { // RB0/INT External Interrupt if(INTCON.INTF == 1) // if the RB0/INT External Interrupt flag is set... { - Place Your Code Here - INTCON.INTF =0; // clear the interrupt flag } } // Sample Main Setup void main() { INTCON.INTE = 1; // enable RB0-Int External Interrupt INTCON.GIE = 1; // enable global interrupt bit while(1) // endless loop { - Place Your Code Here - } }